package cn.aspart.security.controller;

import cn.aspart.security.pojo.BaseResult;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping(path = "/persons")
public class PersonController {

    @PostMapping(path = "/add")
    public Object addNew() {
        return BaseResult.ok();
    }

    @PutMapping(path = "/modify")
    public Object modify() {
        return BaseResult.ok();
    }

    @GetMapping(path = "/list")
    public Object list() {
        return BaseResult.ok();
    }

}
